module SOD
  
  class ProjectObserver < Sketchup::AppObserver
    
    def onNewModel(model)
      Plugin.newModel
      Plugin.projectManager.resetFiles
      Plugin.start
    end
    
    def onUnloadExtension(model)
      UI.messagebox "bye, bye"
    end
    
    def onOpenModel(model)
      Plugin.newModel
      plugin.start
    end
    
    def onQuit(model)
      
    end
    
  end
end
